package sk.marek.barak.server;

import sk.marek.barak.client.MessageService;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class MessageServiceImpl extends RemoteServiceServlet implements
		MessageService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6942214149796990734L;

	@Override
	public void sendMessage(String userId, String message) {
		Facade.sendMessage(userId, message);
		
	}

	@Override
	public String getMessage(String userId) {
		return Facade.getMessage(userId);
	}

}
